package com.ruoyi.cust.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资讯对象 city_info
 *
 * @author cjq
 * @date 2024-12-06
 */
public class CityInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 资讯ID
     */
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long infoId;

    /**
     * 资讯标题
     */
    @Excel(name = "资讯标题")
    private String infoTitle;

    /**
     * 资讯阅读量
     */
    @Excel(name = "资讯阅读量")
    private Integer viewTime;

    /**
     * 资讯赞次数
     */
    @Excel(name = "资讯赞次数")
    private Integer supportTime;

    /**
     * 资讯图片
     */
    @Excel(name = "资讯图片")
    private String infoUrl;

    /**
     * 资讯内容
     */
    private String infoContent;

    /**
     * 仓库类别
     */
    @Excel(name = "仓库类别")
    private String storeType;

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoTitle(String infoTitle) {
        this.infoTitle = infoTitle;
    }

    public String getInfoTitle() {
        return infoTitle;
    }

    public void setViewTime(Integer viewTime) {
        this.viewTime = viewTime;
    }

    public Integer getViewTime() {
        return viewTime;
    }

    public void setSupportTime(Integer supportTime) {
        this.supportTime = supportTime;
    }

    public Integer getSupportTime() {
        return supportTime;
    }

    public void setInfoUrl(String infoUrl) {
        this.infoUrl = infoUrl;
    }

    public String getInfoUrl() {
        return infoUrl;
    }

    public void setInfoContent(String infoContent) {
        this.infoContent = infoContent;
    }

    public String getInfoContent() {
        return infoContent;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    public String getStoreType() {
        return storeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("infoId", getInfoId()).append("infoTitle", getInfoTitle()).append("viewTime", getViewTime()).append("supportTime", getSupportTime()).append("infoUrl", getInfoUrl()).append("infoContent", getInfoContent()).append("createTime", getCreateTime()).append("storeType", getStoreType()).toString();
    }
}
